package com.letao.server.service;


import com.letao.server.dto.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 处理上传文件接口
 */
public interface IUploadService {
    Result updateUserImage(MultipartFile file) throws IOException;

    Result updateSkuImage(MultipartFile file, Long id) throws IOException;

    Result updateSpuImage(MultipartFile file, Long id) throws IOException;

    Result deleteSpuImage(Long id);

    Result updateSeckillImage(MultipartFile file, Long id) throws IOException;
}
